import * as $notify from '../services/notification'

module.exports = {
  enable: true,
  run: async(job, {userId, notifyData}, opts, done) => {
    await $notify.sendNotification(notifyData, {
      userId
    })
    done()
  }
}
